<template>
<!--中间按钮-->
  <el-row>
    <el-col>
        <el-button type="success" :icon="Plus" @click="addDialog = true" >新增</el-button>
        <el-button type="danger" :icon="Delete">批量删除</el-button>
    </el-col>
  </el-row>

  <el-dialog v-model="addDialog" title="添加学生信息" width="400px" center>
    <AddStudent></AddStudent>
  </el-dialog>

</template>

<script setup>
import {Plus,Delete} from "@element-plus/icons-vue";
import AddStudent from "@/view/student/AddStudent";
</script>

<script>
export default {
  name: "Middle",
  data() {
    return {
      addDialog:false
    }
  }
}
</script>

<style scoped>

</style>